<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="ko">
<head>
	<%@ include file="/include/header.jsp" %>
</head>
<body>
	
	<c:if test="${mode eq 'success' }">
		<script>
			alert("로그인 성공하였습니다.");
			location.replace("/bbs/notice_list.do");
		</script>
	</c:if>
	
	<c:if test="${mode eq 'fail' }">
		<script type="text/javascript">
			alert("${msg}");
			location.replace("/");
		</script>
	</c:if>	
</body>
</html>